Release 10.1A: OpenEdge Development:
Progress 4GL Reference


CREATE SOCKET statement

Creates a socket object and assigns it to the handle variable specified. It is through this object that the application can connect to a TCP/IP port and read and write on the socket bound to the port.

Syntax

CREATE SOCKET handle [ NO-ERROR ] 

handle

Variable of type HANDLE into which CREATE SOCKET stores the new socket handle.

NO-ERROR

Specifies that any errors that occur during the creation of the socket handle are suppressed. After the CREATE SOCKET statement completes, the ERROR-STATUS system handle can be checked for information about any errors that might have occurred.

See also

CREATE SERVER-SOCKET statement, DELETE OBJECT statement, Server socket object handle, Socket object handle


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095